//
//  topDateView.m
//  DuiTang--
//
//  Created by Lina Zhang on 16/10/11.
//  Copyright © 2016年 jpw. All rights reserved.
//
#import "DWHomeItem.h"
#import "topDateView.h"
@interface topDateView()
@property (weak, nonatomic) IBOutlet UILabel *topDateLabel;
@end
@implementation topDateView
+(instancetype)topDateView{
    return [[NSBundle mainBundle] loadNibNamed:NSStringFromClass(self) owner:nil options:nil].firstObject;
}
-(void)setItem:(DWHomeItem *)item{
    _item = item;
    self.topDateLabel.text = [item.enabled_at_str substringToIndex:10];
}
@end
